<!doctype html>
<html lang="zh">

	<head>
		<meta charset="UTF-8">
		<meta name="description" content="自动九宫格锁屏js">
		<meta name="keywords" content="九宫格,锁屏,html,js">
		<meta http-equiv="Cache-Control" content="max-age=7200" />
		<title>自动九宫格锁屏demo</title>
	</head>

	<body>
		<center>MY NAME IS LOVEFC<br /><br />
			<a href="./login.html" target="_blank">登录页面</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
			<a href="./uppwd.html" target="_blank">更新密码</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
			<a href="http://lovefc.cn" target="_blank">作者博客</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><br />
                        <a href="https://gitee.com/lovefc/fcode" target="_blank">更新-码云</a> &nbsp; &nbsp;  <a href="https://github.com/lovefc/fcode" target="_blank">更新-GITHUB</a> &nbsp; &nbsp; 
		</center>

		<script src="./src/jquery.min.js"></script>
		<!--这是是锁屏要引入的js,需要放在jquery的后面-->
		<script src="./src/fcode.min.js"></script>

		<script type="text/javascript">
			fcode.bgColor = '#a1afc9'; //背景颜色

			fcode.fontColor = '#FFF'; //圆环颜色

			fcode.lineColor = "#FFF"; //连线的颜色

			//fcode.lineErrorColor = "#00a254";//连线错误颜色

			//fcode.lineSuceessColor = "#cc1c21";//连线正确颜色

			fcode.Time = 10; //锁屏的时间,单位s

			fcode.bgImage = 'https://t1.picb.cc/uploads/2018/03/31/2iJAI6.jpg'; //设置背景图片，优先于背景颜色

			//定义九宫格解锁上方的html内容
			fcode.customHtml = '<div style="margin-top:80px;"><img src="" style="width:70px;height:70px;border-radius:100px"><br /><br /></div>';

			//fcode.Start('123');
			//md5 加密
			fcode.Start('cc70e9369e9f87a660812e08d76a828e'); //密码是1235789，也就是Z字形
		</script>
	</body>

</html>
